export default {
  mode: {
    prop: "value",
    event: "input",
  },
  props: {
    placeholder: {
      type: Array,
      default: () => {
        return ["起始时间", "结束时间"];
      },
    },
    valueFormat: {
      type: String,
      default: "YYYY-MM-DD HH:mm:ss",
    },
    format: {
      type: String,
      default: "YYYY-MM-DD HH:mm:ss",
    },
    showTime: {
      type: [Object, Boolean],
      default: () => {
        return { format: "HH:mm:ss", hideDisabledOptions: true };
      },
    },
    activeDate: {
      type: Array,
      default: () => {
        return [];
      },
    },
    value: {
      type: Array,
      default: () => {
        return [];
      },
    },
    dateRender: {
      type: Boolean,
      default: true,
    },
  },
};
